package gui;

import action.CommandResponse;
import data.Vector2;
import main.Config;
import main.Core;
import model.GameObject;
import model.ImageSprite;

/**
 * 
 * @author YvensDesktop
 *
 */
public class Box extends ImageSprite{
	
	private CommandResponse response;

	public Box(Vector2 pos, Vector2 size, GameObject owner, Core core) {
		super(String.valueOf(Config.getInstance().getConfig("windowPath")), pos, size, Vector2.zero(), owner, core);
	}

	public void update(float elapsedTime){
		super.update(elapsedTime);
	}
	
	public void respond(){
		response.respond();
	}
	
	public CommandResponse getResponse() {
		return response;
	}

	public void setResponse(CommandResponse response) {
		this.response = response;
	}
}
